package com.xxx.demo.data.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备命令流水表
 * @Author: server-boot
 * @Date:   2020-08-12
 * @Version: V1.0
 */
@Data
@TableName("etms_t_devcmdrec")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="etms_t_devcmdrec对象", description="设备命令流水表")
public class TDevcmdrec implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**设备号*/
    @ApiModelProperty(value = "设备号")
    private String untid;
	/**设备命令*/
    @ApiModelProperty(value = "设备命令")
    private String devcmd;
    /**命令参数*/
    @ApiModelProperty(value = "命令参数")
    private String cmdParams;
	/**命令流水号*/
    @ApiModelProperty(value = "命令流水号")
    private String cmdtrace;
	/**开始时间*/
    @ApiModelProperty(value = "开始时间")
    private String starttime;
	/**结束时间*/
    @ApiModelProperty(value = "结束时间")
    private String endtime;
	/**命令状态*/
    @ApiModelProperty(value = "命令状态")
    private String cmdstate;
	/**操作员ID*/
    @ApiModelProperty(value = "操作员ID")
    private String opeid;
	/**失败原因*/
    @ApiModelProperty(value = "失败原因")
    private String errDetail;
	/**工作id*/
    @ApiModelProperty(value = "工作id")
    private Integer jobId;
	/**运行时间*/
    @ApiModelProperty(value = "运行时间")
    private Integer runtime;
	/**开始日期*/
    @ApiModelProperty(value = "开始日期")
    private String startdate;
	/**结束日期*/
    @ApiModelProperty(value = "结束日期")
    private String enddate;
}
